package com.yellowpage.wf.service;

import java.util.List;
import java.util.Map;

import com.yellowpage.white.common.PageRender;
import com.yellowpage.white.service.BaseService;

import com.yellowpage.wf.data.WorkflowNodeInstance;

public interface WorkflowNodeInstanceService extends BaseService {

    /* White generate Method */
    public WorkflowNodeInstance getWorkflowNodeInstance(Long id);
    public List<WorkflowNodeInstance> getAllWorkflowNodeInstance();
    public List<Map> queryWorkflowNodeInstanceByPage(Map queryMap, PageRender pageRender);
    public void saveWorkflowNodeInstance(WorkflowNodeInstance workflowNodeInstance);
	public void updateWorkflowNodeInstance(WorkflowNodeInstance workflowNodeInstance);
	public void delete(List deleteList);
	public List<Map> getAllWorkflowNodeInstanceByInstanceId(Long workflowInstanceId);
	
	public String getOwner(String sql , String deptCode);
	public List<Map> getNodeInstanceId(Long instanceId,Long nodeId);
}


